<br/>
<table  class="site">
    <tr>
        <td>Hình ảnh</td>
        <td>Mã Sku</td>
        <td>Tên sản phẩm</td>
        <td>Choose file</td>
    </tr>
<?
foreach($list as $rs):
//$img = explode('/',$rs->lb_url);
?>
    <tr>
        <td><a href="javascript:;" onclick="insert('<?php echo $rs->sku?>');"> <img src="<?php echo base_url_site()."uploads/products/avatar/".$rs->image;?>" alt="" width="50" height="50" /></a></td>
        <td><a href="javascript:;" onclick="insert('<?php echo $rs->sku?>');"><?php echo $rs->sku?></a></td>
        <td><a href="javascript:;" onclick="insert('<?php echo $rs->sku?>');"><?php echo $rs->name?></a></td>
        <td style="width: 120px;font-weight: bold;"><a href="javascript:;" onclick="insert('<?php echo $rs->sku?>');">Chọn</a></td>
    </tr>
<?php endforeach;?>
</table>
<div class="pages"><?php echo $pagination?></div>